package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingLevelVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface NursingLevelMapper {

    List<NursingLevelVo> listAll();

    void insert(NursingLevel bean);

    Page<NursingLevelVo> listByPage(@Param("name") String name,@Param("status") Integer status);

    NursingLevelVo searchById(@Param("id") Integer id);

    void update(NursingLevel bean);

    void deleteById(@Param("id") Integer id);

    void idAndStatus(Integer id, Integer status);
}
